//
//  YTKAnimatingRequestAccessory.h
//  HaloBear
//
//  Created by monkey on 16/12/14.
//  Copyright © 2016年 刘～丹. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "BaseManager.h"

@interface YTKAnimatingRequestAccessory : NSObject <YTKRequestAccessory>

@property(nonatomic, weak) UIView *datasourceView;

@property(nonatomic, weak) UIView *animatingView;

@property(nonatomic, strong) NSString *animatingText;

- (id)initWithAnimatingView:(UIView *)animatingView;

- (id)initWithAnimatingView:(UIView *)animatingView animatingText:(NSString *)animatingText;

- (id)initWithAnimatingView:(UIView *)animatingView animatingText:(NSString *)animatingText datasourceView:(UIView*)datasourceView;


+ (id)accessoryWithAnimatingView:(UIView *)animatingView;

+ (id)accessoryWithAnimatingView:(UIView *)animatingView animatingText:(NSString *)animatingText;

+ (id)accessoryWithAnimatingView:(UIView *)animatingView animatingText:(NSString *)animatingText datasourceView:(UIView*)datasourceView;


@end
